package zjitc.domain;

import java.io.Serializable;

/**
 * test表格的数据bean对象
 */
public class Test implements Serializable {
    private String name;
    private int age;
    private String sex;
    private String password;
    private String username;


    public Test() {
    }

    public Test(String name, int age, String sex, String password, String username) {
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.password = password;
        this.username = username;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return age
     */
    public int getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(int age) {
        this.age = age;
    }

    /**
     * 获取
     * @return sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * 设置
     * @param sex
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    public String toString() {
        return "Test{name = " + name + ", age = " + age + ", sex = " + sex + ", password = " + password + ", username = " + username + "}";
    }
}
